[args_valid,args_other] = vararginSubset(ValidProps,... PROPERTY1,VALUE1,PROPERTY2,VALUE2,...) [args_valid,args_other] = vararginSubset(ValidProps,... PROPERTY1,VALUE1,OPTSTRUCT,...)
Split argument list in two groups.
ValidProps | any | Allowable fields (cell array) PROPERTY,VALUE: Property-Value pairs, and/or OPTSTRUCT: Option structure that stores property value pairs +----PROPERTY1=VALUE1 +----PROPERTY2=VALUE2 |
args_valid | any | arguments in varargin that match validprops (cell array) |
args_other | any | arguments in varargin that do not match validprops (cell array). |